<?php

/**
 * 后台首页控制器
 *
 * @author <jackson.xu@wemax.org>
 */

namespace Admin\Controller;

use Think\Controller;

class IndexController extends BaseController {

    public function index() {
        $this->title = "首页";
        $this->display();
    }

    //退出登录，删除session
    public function logout() {
        session_unset();
        session_destroy();
        $this->redirect('Admin/Login/index');
    }

    //后台帮助
    public function faq() {
        $this->display();
    }

}
